package com.ny.service;

import com.ny.entity.Reservations;

import java.util.List;

public interface ReservationService {
    void addReservation(Reservations reservation);

    List<Reservations> findAllReservations();//该接口定义了 `findAllReservations` 方法，用于查询所有的预约信息


//    void addReservation(Reservations reservation);
//
//    //该接口定义了 `updateReservationStatus` 方法，接收预约 ID、状态和拒绝原因作为参数，用于更新预约的状态
    void  updateReservationStatus (int reservationId, String status, String rejectReason);



}
